package module;

import java.util.Date;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;

/**
 * 
* @ClassName: NewHouse 
* @Description: 新房屋数据
* @author chenchao
* @date 2014年1月13日 上午11:22:22 
*
 */
public class NewHouse {
	public static  Map<String,String> CONSTANT_MAP = new HashMap<String,String>();
	public static String MODULE = "House";
	static {
		CONSTANT_MAP.put("new", "新房");
		CONSTANT_MAP.put("old", "二手");
		CONSTANT_MAP.put("rent", "租房");
	}
	private int id;
	private int districtId;
	private int unitId;
	private String address;
	private String floor;
	private String allfloor;
	private String face;
	private String age;
	private String room;
	private String ting;
	private String kitchen;
	private String wei;
	private String balcony;
	private String decoration;
	private String property;
	private String type;
	private String owner;
	private String keynumber;
	private String saleArea;
	private String source;
	private String struct;
	private String premises;
	private String garage;
	private String actualArea;
	private String establishment;
	private String houseMark;
	private String allprice;
	private String unitprice;
	private String way;
	private String deliveryData;
	private String houseNumber;
	private String status;
	private String pricecondition;
	private String visit;
	private String e_sn;
	private String e_name;
	private Date createTime = null;
	/**
	 * 店面 总店或分店X
	 */
	private String shop;
	/**
	 * 类别 租房 新房 而二手房
	 */
	private String clazz;
	/**
	 * 板块
	 */
	private int blockId;
	/**
	 * 照片
	 */
	private List<HousePhoto> housePhotos = new LinkedList<HousePhoto>();
	/**
	 * 日志
	 */
	private List<Logs> houseLogs = new LinkedList<Logs>();
	
	/**
	 * 客户集合
	 */
	private List<Customers> customers = new LinkedList<Customers>();
	private String ownerName;
	private String ownerType;
	private String ownerPhone;
	private String ownerMark;
	/**
	 * @return the ownerName
	 */
	public String getOwnerName() {
		return ownerName;
	}
	/**
	 * @param ownerName the ownerName to set
	 */
	public void setOwnerName(String ownerName) {
		this.ownerName = ownerName;
	}
	/**
	 * @return the ownerType
	 */
	public String getOwnerType() {
		return ownerType;
	}
	/**
	 * @param ownerType the ownerType to set
	 */
	public void setOwnerType(String ownerType) {
		this.ownerType = ownerType;
	}
	/**
	 * @return the ownerPhone
	 */
	public String getOwnerPhone() {
		return ownerPhone;
	}
	/**
	 * @param ownerPhone the ownerPhone to set
	 */
	public void setOwnerPhone(String ownerPhone) {
		this.ownerPhone = ownerPhone;
	}
	/**
	 * @return the ownerMark
	 */
	public String getOwnerMark() {
		return ownerMark;
	}
	/**
	 * @param ownerMark the ownerMark to set
	 */
	public void setOwnerMark(String ownerMark) {
		this.ownerMark = ownerMark;
	}
	/**
	 * @return the houseLogs
	 */
	public List<Logs> getHouseLogs() {
		return houseLogs;
	}
	/**
	 * @param houseLogs the houseLogs to set
	 */
	public void setHouseLogs(List<Logs> houseLogs) {
		this.houseLogs = houseLogs;
	}
	/**
	 * @return the customers
	 */
	public List<Customers> getCustomers() {
		return customers;
	}
	/**
	 * @param customers the customers to set
	 */
	public void setCustomers(List<Customers> customers) {
		this.customers = customers;
	}
	/**
	 * @return the housePhotos
	 */
	public List<HousePhoto> getHousePhotos() {
		return housePhotos;
	}
	/**
	 * @param housePhotos the housePhotos to set
	 */
	public void setHousePhotos(List<HousePhoto> housePhotos) {
		this.housePhotos = housePhotos;
	}
	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}
	/**
	 * @return the districtId
	 */
	public int getDistrictId() {
		return districtId;
	}
	/**
	 * @param districtId the districtId to set
	 */
	public void setDistrictId(int districtId) {
		this.districtId = districtId;
	}
	/**
	 * @return the unitId
	 */
	public int getUnitId() {
		return unitId;
	}
	/**
	 * @param unitId the unitId to set
	 */
	public void setUnitId(int unitId) {
		this.unitId = unitId;
	}
	/**
	 * @return the address
	 */
	public String getAddress() {
		return address;
	}
	/**
	 * @param address the address to set
	 */
	public void setAddress(String address) {
		this.address = address;
	}
	/**
	 * @return the floor
	 */
	public String getFloor() {
		return floor;
	}
	/**
	 * @param floor the floor to set
	 */
	public void setFloor(String floor) {
		this.floor = floor;
	}
	/**
	 * @return the allfloor
	 */
	public String getAllfloor() {
		return allfloor;
	}
	/**
	 * @param allfloor the allfloor to set
	 */
	public void setAllfloor(String allfloor) {
		this.allfloor = allfloor;
	}
	/**
	 * @return the face
	 */
	public String getFace() {
		return face;
	}
	/**
	 * @param face the face to set
	 */
	public void setFace(String face) {
		this.face = face;
	}
	/**
	 * @return the age
	 */
	public String getAge() {
		return age;
	}
	/**
	 * @param age the age to set
	 */
	public void setAge(String age) {
		this.age = age;
	}
	/**
	 * @return the room
	 */
	public String getRoom() {
		return room;
	}
	/**
	 * @param room the room to set
	 */
	public void setRoom(String room) {
		this.room = room;
	}
	/**
	 * @return the ting
	 */
	public String getTing() {
		return ting;
	}
	/**
	 * @param ting the ting to set
	 */
	public void setTing(String ting) {
		this.ting = ting;
	}
	/**
	 * @return the kitchen
	 */
	public String getKitchen() {
		return kitchen;
	}
	/**
	 * @param kitchen the kitchen to set
	 */
	public void setKitchen(String kitchen) {
		this.kitchen = kitchen;
	}
	/**
	 * @return the wei
	 */
	public String getWei() {
		return wei;
	}
	/**
	 * @param wei the wei to set
	 */
	public void setWei(String wei) {
		this.wei = wei;
	}
	/**
	 * @return the balcony
	 */
	public String getBalcony() {
		return balcony;
	}
	/**
	 * @param balcony the balcony to set
	 */
	public void setBalcony(String balcony) {
		this.balcony = balcony;
	}
	/**
	 * @return the decoration
	 */
	public String getDecoration() {
		return decoration;
	}
	/**
	 * @param decoration the decoration to set
	 */
	public void setDecoration(String decoration) {
		this.decoration = decoration;
	}
	/**
	 * @return the property
	 */
	public String getProperty() {
		return property;
	}
	/**
	 * @param property the property to set
	 */
	public void setProperty(String property) {
		this.property = property;
	}
	/**
	 * @return the type
	 */
	public String getType() {
		return type;
	}
	/**
	 * @param type the type to set
	 */
	public void setType(String type) {
		this.type = type;
	}
	/**
	 * @return the owner
	 */
	public String getOwner() {
		return owner;
	}
	/**
	 * @param owner the owner to set
	 */
	public void setOwner(String owner) {
		this.owner = owner;
	}
	/**
	 * @return the keynumber
	 */
	public String getKeynumber() {
		return keynumber;
	}
	/**
	 * @param keynumber the keynumber to set
	 */
	public void setKeynumber(String keynumber) {
		this.keynumber = keynumber;
	}
	/**
	 * @return the saleArea
	 */
	public String getSaleArea() {
		return saleArea;
	}
	/**
	 * @param saleArea the saleArea to set
	 */
	public void setSaleArea(String saleArea) {
		this.saleArea = saleArea;
	}
	/**
	 * @return the source
	 */
	public String getSource() {
		return source;
	}
	/**
	 * @param source the source to set
	 */
	public void setSource(String source) {
		this.source = source;
	}
	/**
	 * @return the struct
	 */
	public String getStruct() {
		return struct;
	}
	/**
	 * @param struct the struct to set
	 */
	public void setStruct(String struct) {
		this.struct = struct;
	}
	/**
	 * @return the premises
	 */
	public String getPremises() {
		return premises;
	}
	/**
	 * @param premises the premises to set
	 */
	public void setPremises(String premises) {
		this.premises = premises;
	}
	/**
	 * @return the garage
	 */
	public String getGarage() {
		return garage;
	}
	/**
	 * @param garage the garage to set
	 */
	public void setGarage(String garage) {
		this.garage = garage;
	}
	/**
	 * @return the actualArea
	 */
	public String getActualArea() {
		return actualArea;
	}
	/**
	 * @param actualArea the actualArea to set
	 */
	public void setActualArea(String actualArea) {
		this.actualArea = actualArea;
	}
	/**
	 * @return the establishment
	 */
	public String getEstablishment() {
		return establishment;
	}
	/**
	 * @param establishment the establishment to set
	 */
	public void setEstablishment(String establishment) {
		this.establishment = establishment;
	}
	/**
	 * @return the houseMark
	 */
	public String getHouseMark() {
		return houseMark;
	}
	/**
	 * @param houseMark the houseMark to set
	 */
	public void setHouseMark(String houseMark) {
		this.houseMark = houseMark;
	}
	/**
	 * @return the allprice
	 */
	public String getAllprice() {
		return allprice;
	}
	/**
	 * @param allprice the allprice to set
	 */
	public void setAllprice(String allprice) {
		this.allprice = allprice;
	}
	/**
	 * @return the unitprice
	 */
	public String getUnitprice() {
		return unitprice;
	}
	/**
	 * @param unitprice the unitprice to set
	 */
	public void setUnitprice(String unitprice) {
		this.unitprice = unitprice;
	}
	/**
	 * @return the way
	 */
	public String getWay() {
		return way;
	}
	/**
	 * @param way the way to set
	 */
	public void setWay(String way) {
		this.way = way;
	}
	/**
	 * @return the deliveryData
	 */
	public String getDeliveryData() {
		return deliveryData;
	}
	/**
	 * @param deliveryData the deliveryData to set
	 */
	public void setDeliveryData(String deliveryData) {
		this.deliveryData = deliveryData;
	}
	/**
	 * @return the houseNumber
	 */
	public String getHouseNumber() {
		return houseNumber;
	}
	/**
	 * @param houseNumber the houseNumber to set
	 */
	public void setHouseNumber(String houseNumber) {
		this.houseNumber = houseNumber;
	}
	/**
	 * @return the status
	 */
	public String getStatus() {
		return status;
	}
	/**
	 * @param status the status to set
	 */
	public void setStatus(String status) {
		this.status = status;
	}
	/**
	 * @return the pricecondition
	 */
	public String getPricecondition() {
		return pricecondition;
	}
	/**
	 * @param pricecondition the pricecondition to set
	 */
	public void setPricecondition(String pricecondition) {
		this.pricecondition = pricecondition;
	}
	/**
	 * @return the visit
	 */
	public String getVisit() {
		return visit;
	}
	/**
	 * @param visit the visit to set
	 */
	public void setVisit(String visit) {
		this.visit = visit;
	}
	/**
	 * @return the e_sn
	 */
	public String getE_sn() {
		return e_sn;
	}
	/**
	 * @param e_sn the e_sn to set
	 */
	public void setE_sn(String e_sn) {
		this.e_sn = e_sn;
	}
	/**
	 * @return the e_name
	 */
	public String getE_name() {
		return e_name;
	}
	/**
	 * @param e_name the e_name to set
	 */
	public void setE_name(String e_name) {
		this.e_name = e_name;
	}
	/**
	 * @return the createTime
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * @param createTime the createTime to set
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * @return the shop
	 */
	public String getShop() {
		return shop;
	}
	/**
	 * @param shop the shop to set
	 */
	public void setShop(String shop) {
		this.shop = shop;
	}
	/**
	 * @return the clazz
	 */
	public String getClazz() {
		return clazz;
	}
	/**
	 * @param clazz the clazz to set
	 */
	public void setClazz(String clazz) {
		this.clazz = clazz;
	}
	/**
	 * @return the blockId
	 */
	public int getBlockId() {
		return blockId;
	}
	/**
	 * @param blockId the blockId to set
	 */
	public void setBlockId(int blockId) {
		this.blockId = blockId;
	}
}
